package com.xzz.service;

import com.xzz.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.xzz.dto.CourseDto;
import com.xzz.vo.CourseInfoVo;
import com.xzz.vo.OrderInfoVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xzz
 * @since 2022-09-02
 */
public interface ICourseService extends IService<Course> {

    void save(CourseDto courseDto);

    void onLineCourse(Long courseId);

    CourseInfoVo courseInfo(Long courseId);

    String getForUser(Long mediaId);

    OrderInfoVo orderInfo(String courseIds);

    OrderInfoVo oneByOrder(String orderNo);
}
